<h3>Email Notifikasi</h3><br />
<a href="<?php echo base_url() ?>emails/baru"><img src="<?php echo base_url()?>img/tambah.png"/></a> 
<table class="data">
    <tr class="data">
        <th class="data" width="30px">No</th>
        <th class="data">Email</th>
        <th class="data" width="75px">Aksi</th>
    </tr>
    <?php foreach ($rows->result() as $ym): ?>
    <tr class="data">
        <td class="data" width="30px"><?php echo $i ?></td>
        <td class="data"><?php echo $ym->email ?></td>
        <td class="data" width="75px">
    <center>
        <a href="<?php echo base_url() ?>emails/edit/<?php echo $ym->id ?>"><img src="<?php echo base_url()?>img/edit1.png"></a>&nbsp;&nbsp;
    </center>
    <?php $i++ ?>
    <?php endforeach ?>
</td>
</tr>

</table>
